function ajax01(cmd,type){
	if(window.XMLHttpRequest)var x=new XMLHttpRequest();
	else var x=new ActiveXObject("Microsoft.XMLHTTP");
    switch(type){
	case 0:
	x.onreadystatechange=function(){ if(x.readyState==4 && x.status==200){    //alert(x.responseText);
    eval(x.responseText);
	}}; break;
	case 1:
	x.onreadystatechange=function(){ if(x.readyState==4 && x.status==200){    //alert(x.responseText);
    eval(x.responseText);
	}}; break;
	default:
	x.onreadystatechange=function(){ if(x.readyState==4 && x.status==200){    //alert(x.responseText);
    eval(x.responseText);
	}}; break;
	}

  x.open("GET",cmd,true); x.send();
}
